package com.suhui.task.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.Pattern;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Progress {
    private String id;
    @Pattern(regexp = "^(true|false)$", message = "输入内容必须为 true 或 false")
    private String bool_work;
    @Pattern(regexp = "^(true|false)$", message = "输入内容必须为 true 或 false")
    private String bool_overwork;
    @Pattern(regexp = "^(较好|一般|较差)$", message = "输入内容必须为 true 或 false")
    private String grasp;
    private String progress_content;
}
